package com.wx.holder;

import com.wx.interceptor.WxUserThreadLocal;
import me.chanjar.weixin.common.bean.WxOAuth2UserInfo;
import org.springframework.stereotype.Component;

/**
 * <p>Title:      ConferenceUserHolder. </p>
 * <p>Description 根据X-Conference-Token解析会议相关的用户信息</p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author <a href="yangwensheng@100doc.com.cn"/>杨文生</a>
 * @since 2021/2/4 14:46
 */
@Component
public class WxUserHolder {

    /**
     *
     * @return WxOAuth2UserInfo
     */
    public WxOAuth2UserInfo getUserInfo() {
        return WxUserThreadLocal.get();
    }

}
